{% extends "base_wiki.html" %}
{% block title %}Login{% endblock %}
{% block content %}
<h1>User Login</h1>
{% if form.has_errors %}
    <p>Username or Password not Correct! Retry.</p>
{% endif %}
<form method="post" action=".">
    <p>
        <label for="id_username">User Name</label>
        {{ form.username }}
    </p>
    <p>
        <label for="id_password">Password</label>
        {{ form.password }}
    </p>
    <input type="hidden" name="next" value="/" />
    <input type="submit" value="Login" />
</form>
{% endblock %}
